//
//  HealthLightViewController.m
//  Delicious2
//
//  Created by dllo on 16/1/14.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "HealthLightViewController.h"

@interface HealthLightViewController ()
@property (nonatomic, strong) UIImageView *imageView;

@end

@implementation HealthLightViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"什么是减肥红绿灯";

    self.imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 63, WIDTH, HEIGHT - 110)];
    self.imageView.image = [UIImage imageNamed:@"ImageHealthLight"];
    self.imageView.tag = 100;
    [self.imageView nightMode];
    [self.view addSubview:self.imageView];
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.imageView nightMode];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
